//Eg2-30.cpp
#include <iostream>
using namespace std;
int *f1(){
	int temp=1;
	return &temp;
}
int *f2(){
	int t=99;
	return &t;
}
void main(){
	int *p;
	p=f1();
	cout<<*p<<endl;
	f2();
	cout<<*p<<endl;
}
